package day5Exer;

import java05.Person;

public class Datas {
    public static void main(String[] args) {
        Data p = new Data();
        p.x = 3;
        p.y = 4;
        p.z = 5;

        boolean judge = p.eq(p);
        System.out.println("是否是 等边三角型 吗？"+judge);

        boolean judge1 = p.eq1(p);
        System.out.println("是否是 等腰三角型 吗？"+judge1);

        boolean judge2 = p.eq2(p);
        System.out.println("是否是 直角三角型 吗？"+judge2);

        int add = p.show(p);
        System.out.println("周长："+add);
    }
}
